package com.xm.business.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xm.common.core.page.TableDataInfo;
import com.xm.common.utils.PageUtils;
import com.xm.business.domain.AbTest;
import com.xm.business.vo.AbTestVo;
import com.xm.business.mapper.AbTestMapper;
import com.xm.business.service.IAbTestService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 测试啊啊啊Service业务层处理
 *
 * @author Tellsea
 * @date 2023-12-06
 */
@Service
public class AbTestServiceImpl extends ServiceImpl<AbTestMapper, AbTest> implements IAbTestService {

    @Override
    public TableDataInfo<AbTestVo> queryList(AbTestVo entity) {
        return PageUtils.buildDataInfo(this.baseMapper.queryList(PageUtils.buildPage(), entity));
    }

    @Override
    public List<AbTestVo> queryAll(AbTestVo entity) {
        return this.baseMapper.queryList(entity);
    }


}
